package com.engine4cloud.tdf.supervision.dto.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.List;

/**
 * 矫正对象同案犯信息-响应对象
 *
 * @author wenjie
 * @date 2024-04-01 16:13:51
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "矫正对象同案犯信息表-响应对象")
public class JzdxAccompliceResultDTO extends CreateTimeResultDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 社区矫正对象编号
     */
    @Schema(description = "社区矫正对象编号")
    private String rybh;

    /**
     * 同案犯编号
     */
    @Schema(description = "同案犯编号")
    private String tafbh;

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String xm;

    /**
     * 性别
     */
    @Schema(description = "性别", example = "1")
    private String xb;

    /**
     * 性别名称
     */
    @Schema(description = "性别名称", example = "男")
    private String xbmc;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期", example = "2024-01-01")
    private LocalDate csrq;

    /**
     * 被判处刑罚及所在监所
     */
    @Schema(description = "被判处刑罚及所在监所", example = "****罪***监狱")
    private String bpcxzjszjs;

    /**
     * 具体罪名
     */
    @Schema(description = "具体罪名", example = "[{\"jtzm\": \"15\"}]")
    private List<JzdxAccompliceCrimeNameResultDTO> crimeNameList;

}